<!DOCTYPE html>
<html>
<head>
    <script type="text/javascript" src="../../../../x3dom-include.js"></script>
    <title>Text</title>
</head>
<body>
    <x3d id="x3d" width="800px" height="600px">
    <scene>
      <viewpoint position='0 0 11'></viewpoint>
      <background skyColor='0.1 0.1 0.1'></background>
      <shape id="the_shape">
        <appearance DEF='shiny'>
          <material ambientIntensity='0.0933' diffuseColor='0.32 0.54 0.26' shininess='0.51' specularColor='0.46 0.46 0.46'></material>
        </appearance>
        <text string='"Hello World !"' solid='false'>
            <fontstyle family='"SANS"' style="BOLDITALIC" justify='"BEGIN" "MIDDLE"' size="1" leftToRight="true"></fontstyle>
        </text>
      </shape>
      <transform DEF='origin' translation='0 0 -0.1'>
        <shape >
            <appearance> 
                <material diffuseColor="1 0 0" specularColor="0.5 0.5 0.5"></material>
            </appearance>
            <box size='1,1,0.1'></box>
        </shape>
      </transform>
      <transform rotation='0 1 0 -0.9' translation='0 0 -50'>
        <transform USE='origin'></transform>
        <shape DEF='huge'>
          <appearance USE='shiny'></appearance>
          <text string='"∞€"'>
            <fontstyle justify='"END" "MIDDLE"' size='50'></fontstyle>
          </text>
        </shape>
      </transform>
      <transform translation='0 2 0'>
        <transform USE='origin'></transform>
        <shape DEF='rtl'>
          <appearance USE='shiny'></appearance>
          <text string='"Read" "some text" "today!"'>
            <fontstyle justify='"BEGIN" "MIDDLE"' leftToRight="false"></fontstyle>
          </text>
        </shape>
      </transform>
      <transform translation='0 -2 0'>
        <transform USE='origin'></transform>
        <shape DEF='rtl'>
          <appearance USE='shiny'></appearance>
          <text string='"قراءة" "بعض النص" "اليوم!"'>
            <fontstyle justify='"BEGIN" "FIRST"' leftToRight="false"></fontstyle>
          </text>
        </shape>
      </transform>
    </scene>
    </x3d>
</body>
</html>
